package mq

type MqCmd uint32

const (
	Normal MqCmd = iota
	Discon
	WaitAck
	Reject
	Busy
)

type Msg struct {
	From    string
	Sn      string
	Cmd     MqCmd
	Param   []byte
	Content []byte
}

type NeedAck struct {
	Cmd      MqCmd
	WaitTime uint64
}
